package com.slipper.system.ai.bo;

import com.slipper.common.bo.CommonBO;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;

public class KnowledgeBO extends CommonBO {
    private String id;
    private String[] ids;
    private String modelId;
    private String modelName;
    private String name;
    private Integer chunkSize;
    private Integer chunkOverlap;
    private Integer chunkMinSize;
    private String chunkSeparator;
    private String searchMode;
    private String rerankMode;
    private BigDecimal semanticWeight;
    private String rerankModelId;
    private String rerankModelName;
    private Integer topSize;
    private String useSimilarityThreshold;
    private BigDecimal similarityThreshold;
    private String remark;
    private String updateId;
    private Long updateTime;
    private String createId;
    private Long createTime;

    private String query;
    private MultipartFile file;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }

    public String[] getIds() {
        return ids;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId;
    }

    public String getModelId() {
        return modelId;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setChunkSize(Integer chunkSize) {
        this.chunkSize = chunkSize;
    }

    public Integer getChunkSize() {
        return chunkSize;
    }

    public void setChunkOverlap(Integer chunkOverlap) {
        this.chunkOverlap = chunkOverlap;
    }

    public Integer getChunkOverlap() {
        return chunkOverlap;
    }

    public void setChunkMinSize(Integer chunkMinSize) {
        this.chunkMinSize = chunkMinSize;
    }

    public Integer getChunkMinSize() {
        return chunkMinSize;
    }

    public void setChunkSeparator(String chunkSeparator) {
        this.chunkSeparator = chunkSeparator;
    }

    public String getChunkSeparator() {
        return chunkSeparator;
    }

    public void setSearchMode(String searchMode) {
        this.searchMode = searchMode;
    }

    public String getSearchMode() {
        return searchMode;
    }

    public void setRerankMode(String rerankMode) {
        this.rerankMode = rerankMode;
    }

    public String getRerankMode() {
        return rerankMode;
    }

    public void setSemanticWeight(BigDecimal semanticWeight) {
        this.semanticWeight = semanticWeight;
    }

    public BigDecimal getSemanticWeight() {
        return semanticWeight;
    }

    public void setRerankModelId(String rerankModelId) {
        this.rerankModelId = rerankModelId;
    }

    public String getRerankModelId() {
        return rerankModelId;
    }

    public String getRerankModelName() {
        return rerankModelName;
    }

    public void setRerankModelName(String rerankModelName) {
        this.rerankModelName = rerankModelName;
    }

    public void setTopSize(Integer topSize) {
        this.topSize = topSize;
    }

    public Integer getTopSize() {
        return topSize;
    }

    public void setUseSimilarityThreshold(String useSimilarityThreshold) {
        this.useSimilarityThreshold = useSimilarityThreshold;
    }

    public String getUseSimilarityThreshold() {
        return useSimilarityThreshold;
    }

    public void setSimilarityThreshold(BigDecimal similarityThreshold) {
        this.similarityThreshold = similarityThreshold;
    }

    public BigDecimal getSimilarityThreshold() {
        return similarityThreshold;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    public void setUpdateId(String updateId) {
        this.updateId = updateId;
    }

    public String getUpdateId() {
        return updateId;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public String getQuery() {
        return query;
    }

    public void setQuery(String query) {
        this.query = query;
    }

    public MultipartFile getFile() {
        return file;
    }

    public void setFile(MultipartFile file) {
        this.file = file;
    }
}
